package com.ruoyi.eqmonitor.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * @author ruoyi
 * @date 2023-05-23
 */
public class Riverpatrol extends BaseEntity{

    private static final long serialVersionUID = 1L;

    /** 序号 */
	@TableId(value = "id",type = IdType.AUTO)
    private Long id;

    /** 事件名称 */
    @Excel(name = "事件名称")
    private String name;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 所属河道 */
    @Excel(name = "所属河道")
    private String river;

    /** 执行片区id */
    @Excel(name = "执行片区id")
    private Long optAreaId;

    /** 经度 */
    @Excel(name = "经度")
    private String x;

    /** 纬度 */
    @Excel(name = "纬度")
    private String y;

    /** 责任人名称 */
    @Excel(name = "责任人名称")
    private String plname;

    /** 责任人电话 */
    @Excel(name = "责任人电话")
    private String plphone;

    /** 问题描述 */
    @Excel(name = "问题描述")
    private String description;

    /** 图片存储地址 */
    @Excel(name = "图片存储地址")
    private String fileIds;

    /** 视频存储地址 */
    @Excel(name = "视频存储地址")
    private String videoIds;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setRiver(String river) 
    {
        this.river = river;
    }

    public String getRiver() 
    {
        return river;
    }
    public void setOptAreaId(Long optAreaId) 
    {
        this.optAreaId = optAreaId;
    }

    public Long getOptAreaId() 
    {
        return optAreaId;
    }
    public void setX(String x) 
    {
        this.x = x;
    }

    public String getX() 
    {
        return x;
    }
    public void setY(String y) 
    {
        this.y = y;
    }

    public String getY() 
    {
        return y;
    }
    public void setPlname(String plname) 
    {
        this.plname = plname;
    }

    public String getPlname() 
    {
        return plname;
    }
    public void setPlphone(String plphone) 
    {
        this.plphone = plphone;
    }

    public String getPlphone() 
    {
        return plphone;
    }
    public void setDescription(String description)
    {
        this.description = description;
    }

    public String getDescription()
    {
        return description;
    }
    public void setFileIds(String fileIds) 
    {
        this.fileIds = fileIds;
    }

    public String getFileIds() 
    {
        return fileIds;
    }
    public void setVideoIds(String videoIds) 
    {
        this.videoIds = videoIds;
    }

    public String getVideoIds() 
    {
        return videoIds;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("address", getAddress())
            .append("river", getRiver())
            .append("optAreaId", getOptAreaId())
            .append("x", getX())
            .append("y", getY())
            .append("plname", getPlname())
            .append("plphone", getPlphone())
            .append("description", getDescription())
            .append("fileIds", getFileIds())
            .append("videoIds", getVideoIds())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}